export const IsNotNullOrUndefined = <T extends any>(data?: T): data is T => {
    return data !== undefined && data !== null;
};

export const IsNotNullOrWhiteSpaceString = (value?: string): value is string => {
    return IsNotNullOrUndefined(value) && value.trim() !== ''
}
